Ooops, correct is:
#declare hair_tex_aniso =
texture{
ent{
shader{
shader_file "aniso.slp"
"xroughness" 0.1
"yroughness" 0.7
"brush_direction" <0,0.5,0>
"Kd" 1
"Ka" 1
"Ks" 1.4
"Cs" hair_color
}}
finish{ambient 0.2 diffuse 0.32}
normal {bozo 0.2 scale hair_scale}
}
#declare hair_tex_standard =
texture{
pigment{
hair_color}
finish{ambient 0.2 diffuse 0.6 specular 0.4 roughness 1/100 metallic 1}
}
#declare hair_texture = texture { bozo scale hair_scale
texture_map {[0 hair_tex_aniso]
[0.3 hair_tex_aniso]
[0.6 hair_tex_standard]
[1 hair_tex_standard]}warp { reset_children}}
Post a reply to this message
|